package com.idanchuang.user.count.service.api.response;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author Richard_yyf
 * @version 1.0 2021/7/15
 */
public class BatchUserSceneCountDTO {

    @NotNull
    private Integer userCode;

    /**
     * 对应的计数值
     * 当对应用户对应场景没有计数时，返回为空；如果是已读未读数场景则返回为0
     * scene : count
     */
    @NotNull
    private Map<String, Integer> sceneCountMap;

    private Integer totalCount;

    public BatchUserSceneCountDTO() {
    }

    public Integer getUserCode() {
        return userCode;
    }

    public void setUserCode(Integer userCode) {
        this.userCode = userCode;
    }

    public Map<String, Integer> getSceneCountMap() {
        return sceneCountMap;
    }

    public void setSceneCountMap(Map<String, Integer> sceneCountMap) {
        this.sceneCountMap = sceneCountMap;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    @Override
    public String toString() {
        return "BatchUserSceneCountDTO{" +
                "userCode=" + userCode +
                ", sceneCountMap=" + sceneCountMap +
                ", totalCount=" + totalCount +
                '}';
    }
}
